STREAMS-131 | Because the elastic search components use the same static client, closing the reader can close the writer