adding synchronization for AbstractDAO methods