kill tail on pty pid