Fix resource leak in kaa_read_status_ext()