remove run plan from application only if no more backends are assigned