The problem seems to be connected to a faulty DNS entry. My first entry pointed to a no longer used raspberry pi running pi-hole. It seems that composer did not skip to the next entry but instead just timed out.
Also see this issue which describes the same problem and solution.
CLICK HERE to find out more related problems solutions.