Clean up horizon some more

Some tasks didn't have names. Flush handlers early to avoid an immediate
http restart.