avoid giving socket back to agent when client/server has marked for close