--- 'pockethost': patch --- fix: improve instance record fetching logic to eliminate race condition