Fixed memory leak in Gruntfile.