move spin logic back, check&spin, now use redis, may change to memory if just run on one server