socketio offloading should be managed in a dedicate function