Set loop to 25 ms