close websocket if send event type `close`
Used websocket signal 'categories' on chart init