Fixed high cpu usage caused by a 0 ms interval