private void refreshWordPredictionsAndSetCurrentWord()
{
// we try it twice in case there is an AgentContext exception
// the first time around
if (!tryRefreshWordPredictionsAndSetCurrentWord())
{
Log.Debug("AgentContextException. Retrying refreshing word prediction");
tryRefreshWordPredictionsAndSetCurrentWord();
}
}