sleep 5s to retry to get leadership