Better handle undocumented errors seen during testing of jsonrpc2