Added Cloud.Sleep, moved Sleep/Catch to extensions.
Fixed tests.