however, re-added a check: if swift did not exit within 10 seconds of run termination, dump the threads