Implemented thread joiner when disconnect event spawns