Added a (potentially hacky) solution to the IsFinished problem.

IsFinished is now set to true before initialization to fix the problem
of polling IsFinished when initialization fails, in which case it was
never set to true.