result's first chunk retrieving has been taken out from try..except context to prevent false TypeError catching
added small comment about why we ignore TypeError