Kill tail process on exit