Fix signal handler on abort