Fixed closed connection test case