Handle connection issues

Set default timeout, handle connection issues, raise specialised exception.