keep listeners when rebooting replications
keep listeners when rebooting replications

This fixes the problem where rebooted replications would crash at the end with
a badmatch on [] in do_terminate.


git-svn-id: c1f8a8ec0b3bb2e99ab3413722f81f687760e79c@911717 13f79535-47bb-0310-9956-ffa450edef68

Gussy/bigcouch,benoitc/couchit_experiment,benoitc/bigcouch,benoitc/bigcouch,cloudant/bigcouch,andrejb/cloudant_bigcouch,cloudant/bigcouch,davidcoallier/bigcouch,KlausTrainer/bigcouch,Gussy/bigcouch,breezjw/bigcouch,KlausTrainer/bigcouch,kofron/bigcouch,benoitc/couchit_experiment,PerilousApricot/bigcouch,fkaempfer/couchdb,cloudant/bigcouch,kofron/bigcouch,Asquera/bigcouch,breezjw/bigcouch,linearregression/bigcouch,linearregression/bigcouch,andrejb/cloudant_bigcouch,georgemarshall/bigcouch,cloudant/bigcouch,linearregression/bigcouch,benoitc/bigcouch,andrejb/cloudant_bigcouch,cloudant/bigcouch,fkaempfer/couchdb,cloudant/bigcouch,Gussy/bigcouch,KlausTrainer/bigcouch,bittorrent/bigcouch,benoitc/bigcouch,cloudant/bigcouch,Gussy/bigcouch,benoitc/couchit_experiment,bittorrent/bigcouch,Gussy/bigcouch,PerilousApricot/bigcouch,Asquera/bigcouch,georgemarshall/bigcouch,KlausTrainer/bigcouch,benoitc/couchit_experiment,fkaempfer/couchdb,PerilousApricot/bigcouch,kofron/bigcouch,KlausTrainer/bigcouch,linearregression/bigcouch,andrejb/cloudant_bigcouch,georgemarshall/bigcouch,linearregression/bigcouch,davidcoallier/bigcouch,kofron/bigcouch,andrejb/cloudant_bigcouch,benoitc/bigcouch,KlausTrainer/bigcouch,fkaempfer/couchdb,Asquera/bigcouch,georgemarshall/bigcouch,bittorrent/bigcouch,breezjw/bigcouch,davidcoallier/bigcouch,Asquera/bigcouch,davidcoallier/bigcouch,kofron/bigcouch,bittorrent/bigcouch,georgemarshall/bigcouch,linearregression/bigcouch,breezjw/bigcouch,Gussy/bigcouch,PerilousApricot/bigcouch,bittorrent/bigcouch,PerilousApricot/bigcouch,fkaempfer/couchdb,fkaempfer/couchdb,breezjw/bigcouch,benoitc/couchit_experiment,davidcoallier/bigcouch,PerilousApricot/bigcouch,kofron/bigcouch,andrejb/cloudant_bigcouch,breezjw/bigcouch,bittorrent/bigcouch,linearregression/bigcouch,davidcoallier/bigcouch,Asquera/bigcouch,Asquera/bigcouch,georgemarshall/bigcouch,benoitc/bigcouch,andrejb/cloudant_bigcouch