Fixed bug of RecoverConnectionWithSessionID