add a bit of a hack to allow effectively zero downtime deploys