Revert "Use stream gobbler to read error and input streams of bot."

This reverts commit 81ea1c8a2ee569ca6fa752828d9eb78a63ceab10.