fixed the close_peerlog() bug causing ipsec pluto --help to segfault