Implemented a clean stop

When the buffer responder detects the end of a stream, a stop message is sent as well. This message will terminate the buffer pump.