Added check for existing pid, so start doesn't fail