terminate sphinxd improve