Scope of disable fork

In reply to dave_59:

understood.

Thanks, Dave and I will try your solutions.