emiting error after retry sending message