Included timeout so that request will close connection instead of hanging