CAY-1876 Sometimes PropertyUtilsTest failed

patch by Ilya Drabenia (I wrapped it in try/finally just in case)

git-svn-id: https://svn.apache.org/repos/asf/cayenne/main/trunk@1531963 13f79535-47bb-0310-9956-ffa450edef68