separated disconnect method to other thread