Gracefully terminate continuous changes feeds

When maintenance_mode is set to "true", end all active continuous
changes feeds gracefully with a last_seq chunk and clean TCP
termination.