-put a try-catch around the writeline statement in the logmanager, multiple calls to this method at the same time can cause the server to crash