kill process after settings changed