Add a wrapper to reconnect when SamDB LDB connection is lost

On OCS Manager.