Make server stoppable with interrupt
Make server stoppable with interrupt

Allows the server to be terminated from the client handler.
self.server.shutdown() cannot be called because it waits indefinitely
on itself.

Lekensteyn/pacemaker