Add component connect error
Make process wait for prosody startup to complete