retry creating server lock file on io failure