COS-499: Background crash has active assertions beyond permitted time

- Background task was not being assigned to an ID, so it was never being ended.