Processmanager: read_wait() always returns result

read_wait() should return result when process is inactive.
Merge pull request #114 from alpaca-tc/master

Processmanager: read_wait() always returns result