add handler to on_close event to clean the list of sockets to avoid crashes on the app
add handler to on_close event to clean the list of sockets to avoid crashes on the app

f/kemal-react-chat,f/kemal-react-chat