Remember to close cursors.