commenting out the server, removing mutex since no more than 1 thread is active at a time