Bug fix: "cat file | tail" now tail will terminate automatically.
Remove unneeded code