fixed bug where tail -f stays alive after finish