Behavioral stabilization of host-parasite population dynamics