change session base connection factory to keep connection live