[BISERVER-10066] Synchronizing to avoid ConcurrentModificationExceptions