Flush stdout after we've printed resolv.conf status

With this modification, we use the special format string `%!` which issues a flush directive to the buffered output channel when it's encountered. At this point, the program hangs as the scheduler is still running but there are no more tasks to be completed (yet).