Adding stop_queue