Simulating async request in JsonRpcConnector in local (same JVM)

Change-Id: Ic794b837e84ad506d6061cec88eddc1f7824ee9a