Fix exceptions. Return if agent is ACTIVE in processCname