fix service refuse to shut itself down