connecting to agent
this could take a few seconds to a few minutes