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

...ation completes. Fixes #874