To display the current timeout value, enter:
/usr/sbin/ndd -get /dev/tcp tcp_keepalive_interval
To reduce the timeout period to 15 minutes (900,000 ms), enter:
/usr/sbin/ndd -set /dev/tcp tcp_keepalive_interval 900000