Use pkill and SIGABRT in a Mac environment so R is successfully killed.