Fix lock expire