ref #67: timeout thread if hung