Workaround to prevent ApiTest.testLiveQueryRun to fail in CBL Java

* Add sleep to ensure that the liveQuery is done its async update operation before the test is done or tearDown() method is called.

* Issue opened : https://github.com/couchbase/couchbase-lite-java-core/issues/296