1) Change response to HTTPFuture 2) add timeout to API call and 3) raise error if response not OK