don't run eternal thread in tests