Using 'spawn' like a keywor to thread creation