Backported fix for #888
Merge pull request #60 from ricnewton/master

Fix hang on terminate when inproc is connected but never bound