cleanup ErlangLaunchDelegate