Agent can't register task server