kill with sigterm before send a sigkill

maybe move it in the settimeout