issue 15: ensure flushing is done with the operator shutsdown
issue 15: ensure flushing is done with the operator shutsdown
issue 15: ensure flushing is done with the operator shutsdown