Wait time as global var. Planned as cmdline arg.