gras: fix #66 with less lazy flush_all for input queue