Init at first log to enable logging to local server
Close websocket session