Fix timeout handling for event-based actors