deactivate the socket