add logging of unhandled exceptions to threads created by ConfigurableThreadFactory