fix(tests): close db connections during threaded execution
fix(tests): close db connections during threaded execution

This appears to resolve https://code.djangoproject.com/ticket/22420
allowing us to get test coverage for threads executed within
TransactionTestCases.

Joshua-Anderson/controller-sdk-go,Joshua-Anderson/controller-sdk-go