How about using Libc.systemsleep()? https://docs.julialang.org/en/v1/base/libc/#Base.Libc.systemsleep
Libc.systemsleep()
This is on Windows.