add timeout attribute