agent client manually manages connection
scheduler: utilize new connection-abandoning agent.Client behavior
scheduler: fix data races and small rename