#9 Use try/finally for wait_for (output executor)