flush out at 10000 items