Text this: When to boost: How dose timing determines the epidemic threshold