Added assertion to catch timeout in stopThreads.
Merge branch 'orego8' of ssh://github.com/Orego/Orego into orego8