Fixed Queue<T> and thread_safe::Queue<T> destructor.