kicking cc3k

This PR does 2 things:

* kicks out of a forever loop if we miss an IRQ
* correctly tracks sockets closing
It is a CC error code but they don't explicitly name it. No official list as far as I can find except for random notes on http://processors.wiki.ti.com/index.php/CC3000_HCI_EVNT_messages