possible fix for no-shutdown of external app (ie harvid)
close network sockets on fork

fixes problem with external apps (ie. video-server) inheriting them.