fixes #479 - Recover running deployments on failover or restart