Fixing Py3 issue with Queue library.