handle new thread starting schema
generate thread id for new thread in case of timeout
Merge pull request #304 from scrollback/new-thread

New thread starting