Make test testStopRecur in test 1934 not throw SOEs

The test sometimes throwing StackOverflowExceptions made it hard to
create a test that worked consistently since they could overwrite or
hide the desired exceptions in some cases.

Test: ./test.py --host -j50
Test: stress --cpu 50

Bug: 67576489
Change-Id: I48d9cf657d9292e0f2cf72028d7096ed0fbf90ba
1 file changed