Thank you for your reply and for welcoming me to the QIIME2 forum! Apologies for the misleading terminology; I used the same one I found in the last post just in case. Our server has basically 128 cores and 256 threads, and QIIME2 is using close to 200 threads when we run the command I posted above.
We have a couple of QIIME2 installations (with conda) in our system and I am 100% certain we have seen this issue with version 2021.8 and I will need to verify with my colleagues who run version 2022.2.
As far as I know we don't use slurm or torq queues. The script is run exactly as posted above, just with nohup so that it can run in the background as we connect to the server through our personal computers.