def reconnect(self):
<EOL>self.log.debug("<STR_LIT>")<EOL>self.connected.clear()<EOL>self.reconnect_required.set()<EOL>if self.socket:<EOL><INDENT>self.socket.close()<EOL><DEDENT>
Issues a reconnection by setting the reconnect_required event.

        :return: