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