(self, connection)
| 145 | self.restore_connectivity() |
| 146 | |
| 147 | def _close_connection(self, connection): |
| 148 | conn_task = self.connections.get(connection) |
| 149 | if conn_task is not None: |
| 150 | conn_task.cancel() |
| 151 | |
| 152 | def close_all_connections(self): |
| 153 | for conn in list(self.connections): |