Exit UNKNOWN on connect error or timeout

On timeout or on connection error, the plugin should return an
UNKNOWN state nstead of CRITICAL.