added option for a stop callback
added stop_callback
Merge pull request #1 from bitbackofen/stop_callback

Stop callback