await kafka shutdown to minimise errors reported in logs