Hmm, can't we just write the global value into cb.procedureTimeoutMS when we create the callback?