The other alternative is `kill $!` which is better IMO. I believe it works on most shells.