quit and restart with different parameters