remove useless synchronized on a method managing only a ThreadLocal field. This has been detected by the Profiler
Perf improvement: avoid creating a dynamic query to delete connectors while executing a step
Perf improvement: avoid creating a dynamic query to delete documents of an instance while executing a step