BrookApp: adds new method: Terminate.