He needs to freeze everyone if he wants to stop their escape, not just the escape route. He won’t be able to do it though because Luffy will beat him. If you can’t knock out Luffy and his strongest fighters, you don’t win, it’s simple. They’ll just find a way to destroy the ice after Aokiji’s down