Only restart bitcoind when pid file is not present