Stronger locking needed to avoid multiple garbage collections