Fixed a few errors in the ServerCommunicationManager