should not open the stream i and should stop listing the files if user tries to stop the consumer
move the log statement to inside if block
Merge pull request #30 from rajubairishetti/PINTAIL-80

Should not open the stream and should stop listing the files if user tries to stop the consumer