title: Stop pyzmq receiver by KeyboardInterrupt
body: <p>Following <a href="http://zguide.zeromq.org/py%3ataskwork" rel="noreferrer">this</a> example in the ØMQ docs, I'm trying to create a simple receiver. The example uses infinite loop. Everything works just fine. However, on MS Windows, when I hit CTRL+C to raise KeyboardInterrupt, the loop does not break. It seems that <code>recv()</code> method somehow ignores the exception. However, I'd love to exit the process by hiting CTRL+C instead of killing it. Is that possible?</p>