resourceOffers can be invoked from different threads (akka and others too ?), so we might want to have this around sync block - not just for locking, but also to ensure changes are reflected across threads.