Bug in STOPPING mechanism of IPC state machines fixed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>