Fix benchmark app not terminating model benchmark

Fix endless loop in Processor when running benchmark app.

Test: run model benchmark in NeuralNetworksApiBenchmark
Bug: 160907369
Change-Id: Ic347dfd6adf09ad8a3803ce8cb6e3a13d7f00f5f
4 files changed