debugging for stop_requested.