Always join the thread pool, even when an exception occurs.