fix(useWebSocket): reset wsRef
on close, fix #3706
#3707
Merged
wsRef
on close, fix #3706
#3707