in reply to Re^4: trying to get timeout to work
in thread trying to get timeout to work

Have you tried it?

Yes. But I didn't add a print into the OP's handler, or a die into mine, which is why they seemed different due to the wait behaviour you describe. ;)

All apologies, will edit.