Return stream id to the pool in case of a write error.
updated Authors
Merge pull request #111 from harpreet-sawhney/master

Return stream id to the pool in case of a write error.