Forgot to initialize the channel used for signalling mainloop
termination.