trying to use semaphores more efficiently in another domain and rtree serialization management stopgap attemp