resolver-debug: improve a race condition
Restarting kresd in background is problematic, as it often happened that it wasn't running at the following moment when we're trying to pipe commands into it. Consequently, we sometimes couldn't see verbose logs.
Edited by Vladimír Čunát