Add offline mode
offline
catch error
catch other errors
don't throw
Merge pull request #342 from k88hudson/offline

Add offline mode