Set timeout on HTTP requests