By default this just terminates after max_steps have been reached.
Definition at line 205 of file gym.py.