Fix issue where resetting/disconnecting board would confuse IDE
fix regression on older versions of chrome