Thread-safe getObjectHandle and getPuoid

Also got rid of re-use of object handles which wasn't used and
didn't make much sense.