Fix UI freezing during ioctl for CD status