Latest rustc fix: timer::sleep now takes a Duration object instead of a number