changed queue.push() (wrong) to queue.put() (right)