Additional checks to prevent multiple task handler registry references