cleanup after failed release