A solution to the vaccine waiver dilemma