Update index.md

updated the docs  to mention that replication objects must stay in scope the entire time they are running.