Optimize private endpoint creation

Batch calls to lsof when validating private endpoints to reduce
execution time.