Added Sys.sleep to example