Fixed bug in batchBot that cause timout exception (flushing reponse buffer when it was timedout)