Add graceful stop to deploy config