Fix KeyboardInterrupt in floodmem.