Between subscription and completion in publishError

Similar to https://github.com/spring-projects/spring-framework/pull/24989, but in publishError instead of publishComplete.