run_iter_server should return an int