Spawn thread.