Add limited retried with exponential backoff to synapse client.