add sequence wait method; fix basic global sequence test; make cluster.execute threadsafe