better disposal handling in RavenDBOptions