agent: Don't poll when interval is zero, as documented.