Utils: kill app: try to improve it