Try to make process more KeyboardInterruptable.