Ensuring lock and acquire lua scripts are refreshed on timeout change

which hopefully *really* fixes #299