Use pkill and SIGABRT in a Mac environment so R is successfully killed.
Merged changes from osx-kill