Check if device is valid before running async commands