def METHOD_NAME(signum, frame):
    global reset
    if (reset):
        print "Returning value to icmp_echo_ignore_broadcasts ...",
        os.system(disable_icmp)
        print "done"
    #endif
    print "Leaving group {} ...".format(group),
    msocket.close()
    print "done"
    exit(0)