[sr-dev] git:4.1: core: fix crash related to core sockets_list command