Updated the client example to utilize events so it is async and doesn't block the calling thread.