[mms-engine] Fixed offline mode behavior

Any network related task now fails immediately in offline mode.
Merge pull request #48 from monich/offline

Offline mode behavior