[subcriber] wait_for is moved to cor

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>