implemented StreamingRestClient.close() so that stream can be stopped & cleaned up when we don't need the rest of the results