private void CloseConnectionAndCleanUp() { transportationLayer.CloseConnection(); dataSerializer.ClearBuffer(); }