Fix examples for new spawn()

Have to use Thread::spawn() now