fix bug. do endless loop when set empty value to polling interval.