fixed multithreading issues on logout events