Release resources when closing Epmd.