Adding close on exec to sockets