* Catch concurrent.futures.CancelledError in websocket code. * Added a comment about the use of futures.CancelledError