Add logic to select stalest url in rmn-agent.php.