check for errors returned by pa_context_connect()