Couldn't we just rely on postStop to close and publish? (store away closedEvent if need be for postStop)