The USB bootloader can take a while to be ready / Linux takes a while to set up the interface. 1s is right at the edge, leading to races and often failed flashing. Bump the delay to 2s for a wider safety margin, with this flashing is a lot more reliable.