Add retry count for pwm.period file not found err.