change scheduler to lock_expire