public TestSessionStatistics[] GetStatistics(DateTime startTime, DateTime endTime, int groupId, int testId, int studentId) { try { return(_testClient.GetStatistics(startTime, endTime, groupId, testId, studentId)); } catch (CommunicationException) { _testClient = _factory.CreateChannel(); return(_testClient.GetStatistics(startTime, endTime, groupId, testId, studentId)); } }