def reconnect(self):
<EOL>self._connection.ioloop.stop()<EOL>if not self._closing:<EOL><INDENT>self._connection = self.connect()<EOL>self._connection.ioloop.start()<EOL><DEDENT>
Will be invoked by the IOLoop timer if the connection is closed.

        See the on_connection_closed method.