Terminate holdout off

When bfgs converges before the maximum number of passes is reached, it will not return until all the passes are completed. It will sit there and continue the IO loop. I've added two lines to `end_pass()`  in `bfgs.cc` to fix this issue.