STS-3967: preference to control open-close listener