def _reconnect_cb(self):
@asyncio.coroutine<EOL>def try_reconnect():<EOL><INDENT>"""<STR_LIT>"""<EOL>try:<EOL><INDENT>yield from self._do_connect()<EOL><DEDENT>except IOError:<EOL><INDENT>self._loop.call_later(SERVER_RECONNECT_DELAY,<EOL>self._reconnect_cb)<EOL><DEDENT><DEDENT>asyncio.ensure_future(try_reconnect())<EOL>
Callback to reconnect to the server.