Maybe if you make an executable script that kills all the processes / unload the driver? I wonder if it would freeze then. Similar thing happens in Mac OS X with me, if I connect using the wlan adapter and unplug the device I am forced to reboot. I rarely use active / managed mode in Ubuntu, use Parallels shared networking from my Mac.