change timer to be resumable and add exception handling for repos