Loop if lock was not present on blocking calls

[#81906846]