reset instance in reset and releaseResources