Add wait for flash data transmission completion before software reset.