Fix join_cluster script to avoid infinite looping and add logging.
Merge pull request #6 from cf-blobstore-eng/join_cluster_fixes

Fix join_cluster script to avoid infinite looping and add logging.