Fixed memory leak of dispose on stream close.

On repeated createStream and destroy's the dispose listener was being leaked.