fixed: Dereferenceable mutex race condition