Register the disconnect handler with on to get around DamonOehlman/mbus#3