added rescue if no token available for agent
version bump