def on_client_connection(self, client, error):
    client.close()
    self.connections.remove(client)
def on_client_connection(self, client, error):
    client.close()
    self.connections.remove(client)