You should always have a vial you're using and a fresh untouched one ready to use next. You then look to order a new 2-3 vials once the last one gets opened, not when it's nearly empty.
This obviously isn't hindsight 2020 for the folks in a bad spot now, but advice for everyone going forwards.