That sounds like a misunderstanding of how the actor model works. An actor doesn't wait. It's an event-driven system, it doesn't get to own and decide when messages get fed to it.
Regardless, when the queue which exists and is per-thread is empty, the program terminates.