terminate script if offline event received
Merge pull request #1 from bnied/feature/fix-hubot-offline

terminate script if offline event received