public Task<TimeoutData> Peek(string timeoutId, ContextBag context) { try { readerWriterLock.EnterReadLock(); return Task.FromResult(storage.SingleOrDefault(t => t.Id.ToString() == timeoutId)); } finally { readerWriterLock.ExitReadLock(); } }