PDIO-312 Fixed connection leaking due to mis-instantiation of Config class