The SIGTERM or Ctrl+C is not registered until another peer connects to the listener.
Steps to reproduce:
- Start smaug listener using
./meisc.py -m smaug -lp 8888
- Hit Ctrl+C
Expected result:
The application should quit
Actual result:
Nothing happens until a connection is established to the listening port. After the connection is established the KeyboardInterrup is thrown.