CFY-799 make task retries and retry interval configurable in task constructors