Important: don't expose threadDelay as per issue #24