Embedded heat pipes in pin fin