Check handle freeing.