Fixes a problem where trying to release a lock that was already timed out would cause an error to be logged to the console. In some edge cases it could mean that locked areas of the code could be running at two places at the same time. This PR implements lock refreshing to solve all these problems
Fixes a problem where trying to release a lock that was already timed out would cause an error to be logged to the console. In some edge cases it could mean that locked areas of the code could be running at two places at the same time. This PR implements lock refreshing to solve all these problems
Closes DEV-2490