Make sure that the teardown is called after all the handlers of a type are removed...