added timeout for pulling data