Improve upload to leonardo if CDC port is not open before upload.
Improve upload to leonardo if CDC port is not open before upload.

jfpoilpret/fast-arduino-lib,jfpoilpret/fast-arduino-lib,jfpoilpret/fast-arduino-lib,jfpoilpret/fast-arduino-lib