game: exit game on lua memory allocation error