Details here: https://stackoverflow.com/questions/70468810/problems-with-multithreading-queues-implementations