KeyboardInterrupt may need catch in some platforms

need to read full p.before, p.after to discover it in this test case.