source-reader: bugfix reader destruction

This patch destroys reader as soon as buffered-reader does not have next line.