producer: ensure returned messages have no flags

Otherwise, feeding a returned message back into the input could confuse the
state machine.

@wvanbergen