Reinstated lock attempt in except statement.