close Repository