fix search fail due to disconnect