Cancel request if query timed out.