Ensure app endpoint uniqueness with getpid(2).

If the runtime crashes, then it will not restart any of the apps if
restarted itself, because stale app unix sockets won't allow to create
the new ones.