close websocket to prevent race + fix broken comparison
close websocket to prevent race + fix broken comparison

scharfie/wee-slack,wee-slack/wee-slack,trygveaa/wee-slack,rawdigits/wee-slack,megalithic/wee-slack