Closed orbit correction in CRYRING