Allows "interrupt-safe" executions of scripts by adding a custom conditional
check on loops (for, while, do) and first statement of closures. By default, also adds an interrupt check
statement on the beginning of method calls.