release process when upstream  unpipes and buffer is emptied
v0.0.17