Fix macro for latest rust nightly.
Replace deprecated `spawn` call.