If you travel to TPE quite regularly, it may make sense to buy TPE - HKG return. Even if you don’t know the date of the next trip to TPE, the change fee is quite reasonable (I think around HK$250) even on the lower priced tickets. Note though that you will probably not be able to check in at HKG unless you have your next ticket out of TPE issued.