make thread classes ignore methods or method pairs when any exception occurred