waitFlush also removed for the optimize command