Support for relogging when the server fails. Support for one-retry.