Disconnecting the proper socket