add job id to thread name
don't let the thread die whilst sending out error messages.
add another test routine