Flake should be defeated in the primary. Initiating a notable campaign war chest now is a good way to jump start this effort.
With McCain not long for this world, and Flake being unpopular for having hitched his wagon to him, I would not be surprised to see him decide not to run in 2018. He can keep his book money and maybe whatever he has in the campaign coffers, and slink away.