explicitly cancel both the fsm and messaging thread