making fetchRef multithread