use SIGTERM instead of SIGKILL for gracefull exits and fewer errors