Change socket io instance