[tor-commits] [websocket/master] Check the type of accept errors and close listeners explicitly.