Created Background Thread Flush system