Fixed disconnect concurrency error