fix py3 import of Empty from (Q)queue