Adds socket.destroy() calls to agent pool, removes listeners.