def close(self):
if self.connected:<EOL><INDENT>obj = [self.proto.max_id, [[<NUM_LIT:2>], self.proto.send_count]]<EOL>ARBITRATOR.send_sync_message(self.proto, f"<STR_LIT>")<EOL>self.proto.send_count += <NUM_LIT:1><EOL>ARBITRATOR.close(self.proto)<EOL><DEDENT>self.listeners.clear()<EOL>self.proto.connected = False<EOL>super().close()<EOL>del self.room<EOL>del self.proto<EOL>
Closes connection pair