In case of collector being shutdown,last file in /data folder is never picked up by LocalStream

Refer #51