DS-2355

Fix for synchronization problem in SpiderDetector.java