improve timeout