interface AsyncClosingAction<R>
Action that performs clean
abstract fun onClose(env: EnvWithError<R>): EnvWithError<R>