Set thread name for Endpoint threads.