also wrap the deprecated wlpipe import in a try except