Use Entities.destroyAll(app.getManagementContext())

- instead of Entities.destroyAll(app)