that is when closing a thread is useful.