fix issue with resuming suspended tasks