Fix to process as stream
Merge pull request #4 from yuya-takeyama/streaming

Process as stream