Cleanup error handling / reporting for the remote browsing API.