there is a `close_app` method in `GaiaEnduranceTestCase` which does exactly the same as code in this test, maybe it's better to use it instead? however, comment suggests that it might be not possible. so, just a remark.