Updated documents and fixed problem with connection errors not being handled.