stopStudy method
Permanently stop collecting data for study
and then remove it.
Once a study is stopped it cannot be deployed anymore since it will
be marked as permanently stopped in the DeploymentService via the stop
method.
Implementation
@mustCallSuper
Future<void> stopStudy(Study study) async {
await repository[study]?.stop();
await removeStudy(study);
}