Ensure one process is running for some subcommands

Some subcommand needs to be sure that there is no other one running.