The tcp backend is not related in any way to client (as in browsers viewing the app) connections. It's only for exchanging osc message with another software through a tcp connection as opposed to the default (and sufficient in most cases) udp protocol.
Keeping track of connected clients/browsers can be done reliably using the app
's events, see: