Set FD_CLOEXEC flag on all sockets.