Make the unregister remove the packethandler from the binary search tree