agent: supervisor connect handles ECONNREFUSED