the callback function for channel close events expects a method frame