create custom clinet and set timeout