added stream detach messages
return an error if we can't attach the receiver on startup