release resource on engine reset