protected void onRetry(int count, int milliseconds, final RepeatingCommand retryCmd) {
dismissMessage();
if (milliseconds > 2000) {
pendingMessage = new StatusMessage(manager,
MessageType.LOADING, messageText);
pendingMessage.addAction(new StatusAction() {
@Override
public void renderAction(SpanElement actionContainer) {
actionContainer.setTextContent("Retry now");
}
@Override