Sink2 and channel2 should be closed in Flume

as title
In order to keep the same style for all java related method. such as createStream and createPollingStream.So several jssc have been changed.