detach pid on respawn