Call invalidate to ensure beans are destroyed; ensures any @Disposes methods are executed among other things