Fixes #295 Set _closed regardless of whether close() succeeds
Fixes #295 use an error callback to capture errors from the loader.
Fixes #296 prevent a double-close on the ydb loader on error.
Merge branch 'releases/1.0' of github.com:Tokutek/mongo into releases/1.0