wrapped to `try-catch` statement remote api call
removed extra lines
Merge pull request #426 from KnpLabs/365-fix-remote-api-call

wrapped to `try-catch` statement remote api call