fdMonitor only works sporadically

do you see problem with generic API like open(),read(),write() to control the UART?

Does it relate to this issue where data is received during reboot?