fix task canceled exceptions with CoTask used in command, CallMethodAction and EventAggregator