ensuring wait time before loading modules