In GServer will socket will be closed when Thread.exit?

Hi, using GServer if I close the Thread into “server” method:

def serve(io)
Thread.exit
end

will be the ‘io’ socket be also terminated? or will be remain in memory?

Thanks.