Abort sending of intervals in case of Network Error.

Code review together with @ggousios.

Refs #105
Handles empty contents correctly.

Refs #108
Merge branch 'master' of github.com:TestRoots/watchdog