Stop/Start PrimitiveAI thread.