Fix conection leak