make tsan -Ofast without openmp
fix potential data race if the queue is created after the threads