Fix unload to join threads before destroying queues.