close of store and tlog shouldn't happen when an exception occured
(backport from 7c6a7acb61d15830608528928c36df950249ba61)
Conflicts:
	src/node/node_main.ml
Merge pull request #282 from Incubaid/dont-close-in-finalize

close of store and tlog shouldn't happen when an exception occured
Merge branch 'origin-1.6' into 1.6-for-1.7

Conflicts:
	src/node/node_main.ml
Merge pull request #283 from Incubaid/1.6-for-1.7

1.6 for 1.7