def on_ipc_connection(self, handle, error):
    if self.local_conn_accepted:
        return
    conn = pyuv.TCP(self.loop)
    self.tcp_server.accept(conn)
    conn.close()
    self.tcp_server.close()
    self.local_conn_accepted = True
def on_ipc_connection(self, handle, error):
    if self.local_conn_accepted:
        return
    conn = pyuv.TCP(self.loop)
    self.tcp_server.accept(conn)
    conn.close()
    self.tcp_server.close()
    self.local_conn_accepted = True