Write kafka's pid during startup