CXN_ID_ACTIVE does not bounds check cxn_id.  Need to do that.  Use MAX_CONTROLLER_CONNECTIONS or add a macro to do it.