open and close dice db