Fix broken smp

Changes in 57028d0569f32bb44a28cef4fe44167f997be8fd fail to register the listener.