Added try/catch to in HangleCommunication