SIGN IN SIGN UP

Shutdown connection before joining threads

Interrupting async processors may require to shutdown the connection to
wake up blocking calls.

Therefore, shutdown the connection first, then join the threads, then
close the connection.

Refs commit 9c08eb79cb7941848882cb908cefee9933450de5
R
Romain Vimont committed
ff579990c21d73653aa74a3d8f2ad75b90504657
Parent: b8c5853