NEMO-1838: Use using_wait_time instead of sleep as sleep will fail intermittently.