Allow only one refresh at once for thread-safe
Merge pull request #79 from sorah/lock-instance-profile-refresh

Allow only one refresh at once for thread-safe