Clean up resource controller