Resource manager cleanup