Release locks that haven't expired regardless of the exact expiration timestamp

When deciding wether to delete the lock or not on `release()`, we should compare it to the current time, not the stored expiration time, which could be different (a bit ahead, or a bit behind) in Redis.