close the cursor
add comment for fetchall and fetchone