A ball in the gravity potential field of a black hole -- seems a paradox As illustrated in the following diagram (A, B, C, D are 4 specified space points, and C is close to a black hole), a small ball at distance of a black hole is stationary (suppose now it's mass is m0) and begins to move towards the black hole along the path ABC due to the gravity of the black hole, so the ball moves faster and faster (now the gravity of the black hole is the unique force exerted on the ball), and its mass increases according to the special relative theory.
A-----------------------------> B ---------------------> C Black Hole       A<----------------------------- D <--------------------- C
After a long time (I think we don't need to care how long the time is), it arrives nearby the black hole at a very high speed, say, 0.99c. But we stop it now in any way (thus its mass reduces to m0; how to stop it? I think we don't need to care this neither -- I just want to release its kinetic energy so that its mass restores to m0; we don't consume our energy for its stopping, on the contrary, we collect kinetic energy from it), and drag it back very slowly along the path CDA (here "very slowly" means we can consider its mass stays at m0).
When the ball was moving on the path ABC, it had a much higher speed and more mass than it was on the path CDA, so, according to the special relative theory again, the black hole did more positive work when the ball was moving along ABC than the negative work done by the black hole when the ball was dragged back along CDA. So, the net work done by the gravity potential field of the black hole is not zero, which contradicts with basic physical laws – the gravity potential field does zero work on an object moving on a closed cycle. What is wrong?
Note: in my question, the black hole could be replaced by a normal star if you like; but using a black hole can enlarge the effect of the special relative theory so that we can image that the mass of the ball experiences great change during its motion.
 A: As a comment has hinted, there are several essential holes that need to be filled in the reasoning:

The ball moves faster and faster, and its mass increases according to
  the relative theory.

The ball moves faster according to whom?  The mass increases according to whom?

After a long time, it arrives at the black hole at a very high speed,
  say, 0.99c.

After a long time according to whom?  Has a very high speed according to whom?

But we stop it now, and drag it back very slowly along the path CDA.

Who's "we"?  How does "we" do this?

What is wrong?

In general, 'energy' is not conserved in GR.  
A: If we drag up also the kinetic energy of the ball, then dragging will be very hard.
If we leave the kinetic energy of the ball in the hole, then dragging the ball up is not very hard. The kinetic energy will now reside in a very low gravitational potential. The kinetic energy fell into a hole seemingly gaining energy while falling.
Let's say we drop and lift the ball many times, we drop it into a pool of water. That will cause lot of energy to become stored in the water, water becomes boiling hot. It kind of seems like energy is being created in this process. If the energy in the water actually is a large amount of energy, then energy is created. But the energy of large pool of hot water is not a large amount of energy when the energy resides very low. Pool full of hot water deep in a gravity well is equivalent to mug full of hot water at higher altitude. 
A: Here is a partial analysis of what happens in the process described by the person who asked the question. To make it a complete analysis would require the analysis of the energy extraction and energy storage machinery down in the gravity well. 
Process1: A system consisting of a ball and a black hole pulls itself together. If the system is doing any work, it is doing work on itself, so the energy of the system stays constant.
Process2: An external agent stretches a system consisting of a ball and a black hole. Work is being done on the ball-black hole system by the external agent.
Now if we take one ball and one black hole, and perform the following series of operations with those two objects: 
prosess1, process2, process1, process2 ... and so on, then the energy of the ball-black hole system increases as long as we continue the process, and energy of the motor driving the process decreases.
A: I think Mithoron's answer is correct and the question should apply in any gravity, not just a black hole.   
For any object in free fall or orbit, the potential energy plus kinetic energy will remain the same (ignoring air resistance and tidal/sheering forces).   So the object a mile up with no motion has some potential energy (extra mass), while the object, that was dropped from a mile in the air, if you measure it 1 inch off the ground, it's full of kinetic energy but the net energy and mass is the same.   
But once you stop the ball, the ball loses mass.  A ball 1 inch off the ground has less mass than a ball 1 mile off the ground.
A fun question to think about is, how does the ball 1 mile up and the ball 1 inch up, know where the ground is, and know how much potential energy it should have?
:-)
Not sure that's really an answer, but it's a fun question.    Gravity confused a lot of scientists for a long time.   A few physicists even told Einstein not to work on it after he'd published his special, before he'd published his general.   They warned him, Gravity is "too hard".  
