Fixed mlabraw session being closed twice (once by garbage collector and once by atexit module)