Added check for open connection to a Blink device
Added simple test in console app