Have you tried increasing the esp buffer size? (you might need to also increase the baud)
You might also want to try mode='full'