Actually set remaining attempts in task constructor :/