Fix deadlock on some jdks between write and close by synchronizing shutdown using the sendMutex_ already used for send
1 file changed