Handle SIGABRT properly.