Operator: doOnTerminate

Like finallyDo but before emitting the terminal state instead of after.