Fix timeout issue when no data return from server