Avoid an NPE if the context is null when refreshing arrival times