Fix ApMeshRelay node
Fix memory problem in the destructor