Fix :kill task on Windows