port 'wait_to_retire' from broadly/dokku