support reconnection of service when persist is set true