How to set timeout for dev/tcp while checking hostname and port?

I have a command to check the status of hostname and port number,

echo > /dev/tcp/hostname/80
echo $?
0

success case

echo > /dev/tcp/hostname/809999

I got the output
-------------------
connection timed out

It took almost 4 minutes to time out,,, how can I set it to 10 seconds?

my OS details are
bash-3.00$ uname
SunOS 5.10 Generic_125101-10

Did you consider the nc ( netcat ) utility?

netcat are NOT supported on my OS.
bash-3.00$ nc host 80
bash: nc: command not found