Minor changes post testing. Added release of NETLINK socket to each method.