release the lock a little earlier