Make stopped() synchronized

Work around sporadic build failure:

http://factory.couchbase.com/job/build_cblite_android_103-community/8/artifact/community_logs/03_android_unit_test.log