Pathways to retirement through self-employment