Fix setting monitors on calling processes
When process was in the waiting list it was monitored twice and only one monitor
was canceled.
Merge pull request #58 from ppikula/fix_monitors

Fix setting monitors on calling processes