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