remove release handler when commit failed