Controlling a brake between the prime mover and the load