Only catch RestClient exceptions

This should resolve the issue where underlying system exceptions
were being suppressed accidentally.
Merge pull request #9 from stevenkaras/exception-fix

Only catch RestClient exceptions