Fix CodeFlow update

Fix CodeFlow update to not keep alive service channel longer than it
needs to and recreating one when necessary. Filter on results to just
active CodeFlows in last week.