updated spawn-thread docstring