we don't care about return codes of socket shutdown

it's not like we can do anything about them if something
goes wrong, and it just causes spew.
always close sockets opened so far before regenerating.

Otherwise we overflow the fd struct.