Improve onTick efficiency on xmlrpc calls