Fix closing request handle after it was already closed