Added a canary for detecting messages sent to a dbmodel object from threads other than the one it was created on