fixed connection destroy