Do not enter into infinite loop while waiting for lwan to come up

This issue appeared when systemd socket integration was integrated,
and wasn't throughly investigated yet. This patch is a remedy to
make sure the unit tests are executed every commit, failing the test
that was trying to be executed while trying to spawn lwan.