error handling + retry connecting

afvangen timeout (wanneer opstarten verbinding in clients)
afvangen socketexceptions (wanneer opstarten verbinding in clients)
Retry connecting