Merge "Quit NetworkMonitor threads in integration tests" into main