Adjusted code to suit Hoster; Lowered wait time for DHKE