Also, the channel has to be closed after its consumed, if it returns a channel of 1 with 1 packet, the plugin will never exit even though this channel will never get anything on it again...