Reentrant superconductivity in HoNi5-NbN-HoNi5 nanostructures