kdb: Check status of console prior to invoking handlers