asyncnoter: fix race condition with plugins