It seems (though I haven't tested this) that if a client calls startNotify with a handler h1, then calls stopNotify, then again calls startNotify with a handler h2, both h1 and h2 will be called on notifications. The correct behavior is only h2 being called.