Add a context manager for dataclasses to wait for after doing HTTP work.
Add a context manager for dataclasses to wait for after doing HTTP work.

This eliminates the try/except block for every listener, and makes code
nicer overall.

Signed-off-by: Laura F. D <07c342be6e560e7f43842e2e21b774e61d85f047@veriny.tf>

SunDwarf/curious