move the retry message to appropriate place. Fix #270