Fix race condition for cancelling delayed operations
Need to invalidate/finish on main thread
Fix styling, only need to invalidate if not already cancelled
Fix spaces
Merge pull request #104 from Raizlabs/bugfix/ndonald2/delayed-operation-race-fix

Fix race condition for cancelling delayed operations