title: Ctrl-C in tmux closing window pane but not exiting tail -F
body: <p>I have the following script to start and setup tmux based on my dev environment:</p>
  
  <pre><code>#!/bin/bash
  
  ENV="Test"
  TMUX_SESSION="${ENV}LogMonSes"
  TMUX_WINDOW="${ENV}LogMonWin"
  
  tmux new-session -d -n "$TMUX_WINDOW" -s "$TMUX_SESSION" "ssh server1 tail -F /var/log/tomcat/application.log"
  tmux split-window -v "ssh server2 sudo tail -F /var/log/postgresql/postgresql.log"
  tmux attach-session -d -t "$TMUX_SESSION"
  </code></pre>
  
  <p>When I want to exit tmux I hit Control-C to kill tail. This appears to close the pane but does not kill the tail process. If I log back into the server I see a bunch of tail processes that have not been killed and I am forced to do it manually. Any ideas on how to let the Control-C kill the tail processes?</p>