Improve logging for already destroyed boxes.
Fix mutex lock for `getBox()`