omtesting: fix potential problem when multiple worker instances