use atomic variable to fix TcpServer::start thread-safety issue. fix issue #25