Refactor: daemons: Do not try to free and alloc schedulerd_api repeatedly.
Instead, only allocate it once from pe_subsystem_new and only free it
once from pe_subsystem_free. In between, simply disconnect and
reconnect as needed. This prevents leaking the API object memory.