Distributed locking with Spring