[SPARK-2318] When exiting on a signal, print the signal name first.