added handling of timeout for requests.get()