changed property name to the correct autoReleaseAfterClose