http request timeout

Added a 5 second timeout and a domain wrapper around the http request to make sure we have no unexpected crashes.