It wasn't close. And it was ridiculously bad baserunning. He apparently forgot how many outs there were. Should have scored standing up without even a thought of a throw.
Even if he thought there were less than two outs, he ran the bases poorly. He had rounded second when he stopped, for some reason, and had there been one out and the ball caught, he'd have likely been doubled off first. So even the "forgot how many outs" excuse was bad bad baserunning.
And all of that ignores him not being at SECOND base to start that AB, which he should have, since he should have tagged from first on Lewis' sac fly immediately before the play in question.
It cost the team a run. Ended up not costing a win, but that's beside the point.