Ensure the on_success handler gets called on close if there are no channels.