Any way to configure timeout for Upload-Monitor?

Thanks for this.

I updated it to work for teensy 4.1 and to only wait until the port is open.

See my post here: Any way to delay opening serial port monitor? - #8 by ragiton