How can I set timeout connection?

websocket server no response up to 100 seconds, i want to set timeout connection to 30s then retry again.

I using autobahn browser latest version.