Fixed IO deadlock when running SNAP as a read frontend.
Merge pull request #82 from fnothaft/snap-fixes

Fixed IO deadlock when running SNAP as a read frontend.