Instead send SIGHUP's to all childs, and wait for them to exit first.
The previous behaviour caused problems when childs produced output on receiving
SIGHUP (e.g. dtach).
Also, if some tabs don't exit within 2 seconds of receiving SIGHUP, warn the
user of the offending pid's.