SCALARIZR-1351 Server reboot refactoring