phased-restart also check for pid file first