Merge pull request #606 from dobrist/JENA-1758

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