close the jar