[services/textproc/brain] shut down the brain