add a workaround to ensure that the filepush thread take notice of the