make sure sniff does not block if we are not in a cordova container (and thus deviceReady will never come)