added answer workflow for chat messages. fixed connection restoring