Very simple SW, just sleep and publish, panics randomly

@no1089, I am using 1.5.0. The “old” sleep seems to work fine (most of the time). But the Sleep 2.0 does not, I have another thread about specifically sleep 2.0: Sleep 2.0 in 1.5.0 not working as expected. Maybe it is better discuss Sleep API there.