Controlled release of additives in fluid systems