def finish(self): """Closes the connection and deletes the client from the clients list""" self.close() SAPNIServerHandler.finish(self)