fix bad import
fix findbugs violations
remove synchronization from AtomicBoolean usage