Fix cogserver shutdown so it doesn't crash.
Fix cogserver shutdown so it doesn't crash.

andre-senna/opencog,andre-senna/opencog,AmeBel/opencog,AmeBel/opencog,AmeBel/opencog,AmeBel/opencog,AmeBel/opencog,andre-senna/opencog,AmeBel/opencog,andre-senna/opencog,andre-senna/opencog,andre-senna/opencog,andre-senna/opencog,AmeBel/opencog