fix concurrency issue in Server.java