def disconnect(self):

        if self.socket != None:
            logger.log(logging.INFO, logger.RED + self.formattedAddr + "Disconnecting" + logger.NOCOLOR)
            self.isActive = False
            self.socket.close()
            self.socket = None
Disconnects the client
dataset/ETHPy150Open Diastro/Zeek/src/server.py/SSClient.disconnect