Unregister consumer only after basic.cancel-ok is received

Fixes #198.