Send `QUIT` to server on reactor shutdown