Skips main loop when arg is null.