When an invocation is interrupted, set interruption flag back after operation completes. Fixes #874
Merge pull request #902 from mdogan/fix/3.1/issue-874

When an invocation is interrupted, set interruption flag back after oper...