use io to free queue in encoder if possible
log redundant packets