Controlled release of a therapeutic protein