updated timeout to increase wait