Pair up deployments and undeployments so failed deployments won't leave the server half empty