Wait for connection to re-establish after leader election