Add a timeout option for requests, more logging.