fix unit tests for af281c47ddca60c3db9003c0e700badfc01d09d4
change task queue retry HTTP status code from 417 to 306