Reviewed and fixed commit 56313ad7

Previous state variable access wasn't synchronized.
But there's no need to access it anyway. The forceCancel()
is always called outside of user thread.
Unify TaskParent methods naming convention