Fix a deadlock with BulkInsert, when running in Asp.Net