add signal handler for SIGTERM. now use SIGKILL signal to terminate