The Flask application didn't have the BROKER_URL environment variable set so connecting to the broker failed and dispatching jobs hanged.