#17 graceful error exit when out of file descriptors
#17 gracefull db open
#17 test env open with open file limit
#17 fix a memory leak