observe changes to useWebSocket property