bugfix for Bad file handle error after cursor timeout
updated version to 0.8.1