removed redundant/unreachable returns, else branches, type declarations, unused variables
cancel_on
* cancel_on filter * tests