filling up, flushing and inserting again sometimes fails