Use a mutex (for now?) for closing idle sockets