Yet one more bug in stopping mechanism of IPC transport

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