http can hang during download cancel on input.close() causing confusing behavior. fixed