Potential hang avoided by checking for context interrupt
Merge pull request #2 from KjellKod/2014_05__PendingRepliesCheckForInterrupt

Potential hang avoided by checking for context interrupt