Update OpenConnection method in DBConnector