The first exit of almost strongly recurrent semi-Markov processes