Stop listening to messages when you close a MessageInputPipe's input
stream