1. Handle the state writing exceptions. 2. Make the timer respect reentrancy. (https://github.com/dotnet/orleans/issues/2574)