Fixed idle timer so it correctly uses the idle frequency