Fixed socket disconnecting