init self.task to None

merged changes from nautilus-dropbox 1.6.1 to 1.6.2

this bug happens when you try to press cancel on first dialog