Promptly read from subprocess's buffer so it would not overflow.

Fixes for: EUCA-9231