update internal signature for cs_close()