fixes #3501
removed debug code #3501
Merge pull request #3540 from dotCMS/issue-3501-concurrent-exception-ESContentletAPI

fixes #3501