Monitoring thread does not die anymore on exception