Handle kill signal.