Make some adjustments to error handling. Verify connection to source DB for sql-sync