fix check_stream_alive popen get two pid