Fix loop_until_server_online from prev commit.