How to change timeout in client mode on connect?

I need 1 sec timeout

Did you read the datasheet? Did you try yourself? What was the result? What is not clear?

And finally, search the forum, there were posts explaining the timeout mechanism.