revision number up
raise error if connection is closed when fetch records.