title: Unable to stop consuming in Pika
body: <p>I am unable to return the data from the Pika since it <code>start_consuming</code> is not stopping. It prints the results but it does not return the output</p>
  
  <pre><code>def on_request(ch, method, props, body):
      directory =body
  
      print(directory.decode('utf-8'))
      response = parse(directory.decode('utf-8'))
  
      ch.basic_publish(exchange='',
                       routing_key=props.reply_to,
                       properties=pika.BasicProperties(correlation_id = \
                                                           props.correlation_id),
                       body=str(response))
      ch.basic_ack(delivery_tag=method.delivery_tag)
  def start():
      print("hi")
      connection = pika.BlockingConnection(
          pika.ConnectionParameters(host='localhost'))
  
      channel = connection.channel()
  
  
      channel.queue_declare(queue='rpc_queue')
  
      channel.basic_qos(prefetch_count=2)
      channel.basic_consume(queue='rpc_queue', on_message_callback=on_request)
  
      print(" [x] Awaiting RPC requests")
      channel.start_consuming()
  </code></pre>