retry until phantom restarts itself