Fix a bug with BulkInsert and mini profiler connections