Hold the write lock while mutating ebus handlers