Fix HTTP request disposal.