Bugfix: Avoid accessing non-existing variable
Merge pull request #150 from guidow/stop_process_bugfix

Bugfix: Avoid accessing non-existing variable