Fixed flushing timeout