Closing connection before TX completion