[SystemInfo][WIFI-Network] Fix illogical error callback and uniform to use C-API listener