only try to kill server process don't crash
fix file regex
do not include private types in top level completion