CLOUDIFY-2165 Made call to clear expando cache synchronized to prevent possible thread-safety issue. More details here: http://jira.codehaus.org/browse/GROOVY-5121