fix flow control examples to not discard buffer when queue is full