adding timeout on server