app/testpmd: add timeout in Rx queue flushing