Close command sockets when disconnecting