Add timeout on SSL internal cert retrieval