Release resource