JENA-1758: Wait for the thread to complete when finishing bulk loading

This prevents the thread from running until after a loading operation has returned, which can cause problems when the dataset is used immediately thereafter.
1 file changed