sleep will be a blocking function (i.e. work like it does in the old shell)
Since there's no top-level await in the shell, if someone wants to have a blocking sleep call we need to implement it with returnsPromise so it actually blocks.