'stop.
Stop the queue from creating more feed_dict.'

def stop(self):

    for i in range(self.num_threads):
        self.batch_ids_queue.put(False)
    t = threading.Thread(target=self.wait_for_threads)
    t.daemon = True
    t.start()
