Safe Learning with Real-Time Constraints: a Case Study