messages_ctdbd: make sure a ctdbd connection is only used in the process that created it