#727 Fail on timeout displays stack of stuck thread
#463 Add ability for timeout to print full thread stack dump
- Ref tests and where the test thread is interrupted to prevent surviving threads (as it is the case for other older tests!), reduce duplication in test code