add close that can be necessary with vector petsc as input/output
minor up