Trying to debug problem with object sharing in threads in uwsgi