Clean up streamning shutdown, don't let stream test hang tests
Add unsafe method to get raw fd.
Bump version