I hope that this supplementary note will help in your research project. It presents an easy procedure for the preparation of thiol-terminated poly(ethylene glycol) so it will be a dithiol with EG repeating units in between something like
HS...EG-EG-EG-EG-EG...SH with a proper number of EG so as there is an acceptable molecular weight of PEG.