Wrap all HTTP request into try catch.