stlink_usb: Fix swallowed error on read/write operations, add retries on SWD WAIT...