Fix windows interrupt handling.