On the behavior of diffusion processes with traps