Update BoneCPDataSource.java

Unsafe usage of field with data race