jtag/drivers/stlink: allow to reconnect seamlessly after polling failure