Terminal RTS/DTR

For some reason I am unable to turn off rts/dtr signaling to a esp32-s3 board using platformio. I added
monitor_flags =
–raw
–echo
–rts 0
–dtr 0
to the ini file with no effect. This causes the board to reset anytime the terminal is disconnected. I had to switch to CoolTerm as my serial monitor to prevent resetting. I also found that Putty terminal has a problem disabling these control lines.