Restart worker if it failed to send the log messages.