Removed mis-use of std::atomic<bool> in SocketTests