Fixed multiple done calls.