Case load via excel

I am getting this error while uploading case data to a local install of
commcarehq

the server will crash but upon restart the data is all there…any
ideas.?

Internal Server Error: /a/kidsv2/importer/excel/commit/

Method: POST

URL: http://138.197.69.231:8000/a/kidsv2/importer/excel/commit/

User: aniket57gholap22@gmail.com
Traceback (most recent call first):

DatabaseError: DatabaseWrapper objects created in a thread can only be used in that same thread. The object with alias ‘default’ was created in thread id 140074495502080 and this is thread id 140074668811280.

File “/home/commcarehq/local/lib/python2.7/site-packages/django/db/backends/base/base.py”, line 421, in validate_thread_sharing
% (self.alias, self._thread_ident, thread.get_ident()))

File “/home/commcarehq/local/lib/python2.7/site-packages/django/db/backends/base/base.py”, line 191, in close
self.validate_thread_sharing()

File “/home/commcarehq/local/lib/python2.7/site-packages/django/db/transaction.py”, line 261, in exit
connection.close()

File “/home/commcarehq/local/lib/python2.7/site-packages/django/db/models/base.py”, line 762, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)

File “/home/commcarehq/local/lib/python2.7/site-packages/django/db/models/base.py”, line 734, in save
force_update=force_update, update_fields=update_fields)

File “/home/commcarehq/commcare-hq/corehq/apps/case_importer/tracking/case_upload_tracker.py”, line 57, in trigger_upload
case_type=config.case_type,

File “/home/commcarehq/commcare-hq/corehq/apps/case_importer/views.py”, line 266, in excel_commit
case_upload.trigger_upload(domain, config)

File “/home/commcarehq/commcare-hq/corehq/apps/users/decorators.py”, line 21, in _inner
return view_func(request, domain, *args, **kwargs)

File “/home/commcarehq/commcare-hq/corehq/apps/domain/decorators.py”, line 103, in _inner
return view_func(req, domain_name, *args, **kwargs)

File “/home/commcarehq/local/lib/python2.7/site-packages/django/views/decorators/http.py”, line 45, in inner
return func(request, *args, **kwargs)

File “/home/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)