AttributeError: Queue instance has no __call__ method