This allows to properly shutdown the event handling loop by cancelling the context.
9a5714a26f
b7dc410e93
3525302160