Exit the program when we've done our job

With this modification, the program exits immediately after printing the status of the resolv.conf file. I used Caml.exit to call the Pervasives `exit` function because Async shadows exit to produce an Ivar which I don't really understand, yet.

When the program exits, the stdout channel is flushed to the console and everything terminates.