close termbox before each log.Fatal or panic