[FIX] The server disconnect method sometimes crash with a concurrency error