add cleanup method

since datasourceplugin is a type of PythonDataSourcePlugin, which has onSuccess(), onError(), etc., I just do self.onSuccess(result, config). processResults() is a method of PythonCollectionTask class.