retry 3 times for running flag