Refactoring AbstractQueueServiceStatistics and tests.
Refactoring restart process from beginning.