Fix race condition in properties watcher
Fix race condition in properties watcher

If connection is closed without acquiring the lock, it's possible for signals to be handled with the owner still set, causing the watcher to attempt to remove a signal from the closed connection. Locking across the connection close ensures that any signals that might come in after the connection is closed are ignored.

soumya92/barista,soumya92/barista,soumya92/barista