finish sqlite