add option for packet loss
addr has already been freed at this point, DEBUG message will cause a null pointer dereference
remove expired nodes from free_nodes