Adjust connection object to be a singleton.