Close control pipe in cluster master
Drain the notification pipe. Fixes #176, thanks @cryo28