Stop app on lua error