bugfix: core dump when receiving multi SIGTERM