Fix hang when Websocket Read is interrupted

Updated to catch the quit signal and break out of the loop. Tested that ^C shutsdown `btcwallet` as expected, with the same env in which it was hanging earlier.
I would just make this an empty default case and let it fall through, then we don't lose another indent.