Shoulda gone for a turnover and fouled if it didn’t work. Worst case scenario you’re down by 3 with 20 seconds
Best case scenario not going for the turnover you’re down one without 5 seconds left and no timeouts. There’s not enough time to set up a good shot even if you get the rebound immediately