fixed crash: load session only after syncthread is started.