cleanup bad deployments if they occur