If an callback is turned off, don't issue it

When a callback is turned off, make sure we do not issue
this callback, even if we are in the middle of an emission.
Merge branch 'issue/1' into staging

* issue/1:
  If an callback is turned off, don't issue it