fdMonitor only works sporadically

if you want to isolate whether this is related to legato API, you can simply use open(),read(),write() generic API to control the UART: