Regulating phage therapy