Simple refactoring.

- Changed server query time to 5 seconds before connecting to best match.
- Name refactoring.
Extracted CalculationManager watchdog to inner class.
Implemented recalculation of failed intervals.