[tests/sending] Use decorators to handle timeout loops.