fix(library/module): race condition on m_imported