added termination of deployments