updated timeout for wait_for