release objects to prevent high memory usage/leaks