[networkbrowser] fix issue on close after browse, for non nmap builds