Prevents deadlocks when new handlers are registered from within an existing handler.
matrix-sdk is an implementation of a Matrix client-server library in Rust.
Apache-2.0