Refund unused resources if refining/mining cannot be completed.