Delete cross-thread pools when the thread terminates if they are empty. Hopefully...