Changed implementation to use pipe instead
Added test to capture failing behavior
Merge pull request #2 from ThomasAlxDmy/linux-cancel-blocking-read-issue

Changed implementation to use pipe instead