BVS-1910: Fix for socket error

Also suppresses an unhelpful sqlalchemy error and
blocks the watchdog to keep the output clean of
irrelevant messages to the sync process.