terminate more gracefully when get more response data than expected