handle ctrl+c when addresses are being generated