[jsonrpc-test][bug-fix] Check correct exception message when no connect

Change-Id: Ia9837192dcd500eb08cf1eb2c04cedaaeac956e3