remove call to end stream on delete module