Fixed flushing in writePool(...) for little pools