fixed communication pipe to be non-blocking.
Merge pull request #3 from trapni/new

fixed communication pipe to be non-blocking.