Reduced socket timeout and increased cache time.
Return integer if uptime has no decimals.