Make sure only one end of each pipe is open for communication between simulator and visualizer. Fixes #155.
Merge pull request #156 from simbody/closeVisualizerPipeEndsProperly-Issue155

Close one end of each simulator/visualizer communication pipe