Instead of using thread local storage to store a different HTTP connection for each thread, add a lock around the connection's constructor to make sure only one is created.

Conflicts:
	haystack/utils/loading.py