added extra_info reader and timeout loop