remove flushing thread