SqlDatabase close method.