Return valid pid even when we've quit.