INT-3162 fix AbstractScriptExecutor thread-safety

JIRA: https://jira.springsource.org/browse/INT-3162