ABC says they have no plans to end the show after season 6. (Though I can't imagine it getting a season 7 if its ratings don't improve, or Disney requires it.) The short season and delay to summer 2019 might be specifically in order to avoid having to deal directly with the effects of Infinity War.