amzcons: add hook for KeyboardInterrupt