if restart thread dies for any reasons, record that fact
Jenkins!
This version has a better error diagnostics