Add leader loop for continuous queries.