Fixed bug: ->disconnect was called on a handler that was not defiend.