handle interrupts when running lua code by printing lua stack trace