refactoring: moved code for watch mode to separate function
Merge pull request #44 from sir-sigurd/fix-watchdog-import

refactoring: moved code for watch mode to separate function