[sr-dev] git:master: modules/websocket: Fixed resource leak and infinite loop in websocket module