Flush data from memory only when if it is available