Make HTTP request cancelable