Mean exit time and survival probability within the CTRW formalism