ITS#9686 plug peercert memleak

3 jobs for master in 49 minutes and 8 seconds (queued for 3 seconds)