adding timeout adjustment