Wrap http request in try/except block to catch errors and download limits.