added timeout config