prevent API misuse console log when you perform actions before connecting to a device