The flusher thread