Fixed error handling when connection is not yet subscribed