This fixes hangs during EC2 reboots (which are implemented by sending a ctrl-alt-del to the instance).
Fixes NixOS/nixos#135 and NixOS/nixos#126.