workaround for avrdude/ftdi bitbanging not recognising the programmer on first try when serial communication was used