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.
Yup, it was a hack. Removed.