Fix on.exit() to also close mran.root connection. Closes #138